package com.platform.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.platform.dao.WxFromidDao;
import com.platform.entity.WxFromidEntity;
import com.platform.service.WxFromidService;

/**
 * Service实现类
 *
 * @author czj
 * @email 729618941@qq.com
 * @date 2018-10-16 14:31:18
 */
@Service("wxFromidService")
public class WxFromidServiceImpl implements WxFromidService {
    @Autowired
    private WxFromidDao wxFromidDao;

    @Override
    public WxFromidEntity queryObject(Integer id) {
        return wxFromidDao.queryObject(id);
    }

    @Override
    public List<WxFromidEntity> queryList(Map<String, Object> map) {
        return wxFromidDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return wxFromidDao.queryTotal(map);
    }

    @Override
    public int save(WxFromidEntity wxFromid) {
        return wxFromidDao.save(wxFromid);
    }

    @Override
    public int update(WxFromidEntity wxFromid) {
        return wxFromidDao.update(wxFromid);
    }

    @Override
    public int delete(Integer id) {
        return wxFromidDao.delete(id);
    }

    @Override
    public int deleteBatch(Integer[] ids) {
        return wxFromidDao.deleteBatch(ids);
    }


}
